package net.xdclass.request;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
public class AddressRequest {
    private static final long serialVersionUID = 1L;


    /**
     * 是否默认收货地址：0->否；1->是
     */
    @ApiModelProperty(value = "是否是默认收货地址",example = "0" )
    @JsonProperty("default_status")
    private Integer defaultStatus;

    /**
     * 收发货⼈姓名
     */
    @JsonProperty("receive_name")
    private String receiveName;

    /**
     * 收货⼈电话
     */
    private String phone;

    /**
     * 省/直辖市
     */
    private String province;

    /**
     * 市
     */
    private String city;

    /**
     * 区
     */
    private String region;

    /**
     * 详细地址
     */
    @JsonProperty("detail_address")
    private String detailAddress;

}
